<?php

  class Page {
      
    public $m_title = "";
    public $m_body = "";
        
    public function Merge(Page $otherPage) {
      $ret = new Page();
      
      $ret->m_title = $this->m_title . " " . $otherPage->m_title;
      $ret->m_body = $this->m_body . "\n" .$otherPage->m_body;
      
      return $ret;
    }
  }
